MIG_BILIN_ACCOUNT_DIR=migration/bilin-account
MIG_BILIN_ADMIN_DIR=migration/bilin-admin
MIG_BILIN_INVENTORY_DIR=migration/bilin-inventory
MIG_BILIN_MALL_DIR=migration/bilin-mall
MIG_BILIN_MEMBER_DIR=migration/bilin-member
MIG_BILIN_OPEN_DIR=migration/bilin-open
MIG_BILIN_PAY_DIR=migration/bilin-pay
MIG_BILIN_PROD_DIR=migration/bilin-prod
MIG_BILIN_SMS_DIR=migration/bilin-sms
MIG_WXPAY_DIR=migration/wxpay
MIG_BILIN_MOCK_DIR=migration/bilin-mock


MIG_OF_OPEN_DIR=migration/of-open
MIG_SCF_SMS_DIR=migration/scf-sms
MIG_OF_MOCK_DIR=migration/of-mock
MIG_OF_STRUCTURED_DIR=migration/of-structured
MIG_GSC_DATASETS_DIR=migration/gsc-datasets

account:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_ACCOUNT_DIR} -seq $(seq)
else
	$(error seq not define)
endif

admin:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_ADMIN_DIR} -seq $(seq)
else
	$(error seq not define)
endif

inventory:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_INVENTORY_DIR} -seq $(seq)
else
	$(error seq not define)
endif

mall:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_MALL_DIR} -seq $(seq)
else
	$(error seq not define)
endif

member:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_MEMBER_DIR} -seq $(seq)
else
	$(error seq not define)
endif

bilin_open:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_OPEN_DIR} -seq $(seq)
else
	$(error seq not define)
endif

pay:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_PAY_DIR} -seq $(seq)
else
	$(error seq not define)
endif

prod:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_PROD_DIR} -seq $(seq)
else
	$(error seq not define)
endif

sms:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_SMS_DIR} -seq $(seq)
else
	$(error seq not define)
endif

wxpay:
ifdef seq
	migrate create -ext sql -dir ${MIG_WXPAY_DIR} -seq $(seq)
else
	$(error seq not define)
endif

bilin-mock:
ifdef seq
	migrate create -ext sql -dir ${MIG_BILIN_MOCK_DIR} -seq $(seq)
else
	$(error seq not define)
endif

of_open:
ifdef seq
	migrate create -ext sql -dir ${MIG_OF_OPEN_DIR} -seq $(seq)
else
	$(error seq not define)
endif

scf_sms:
ifdef seq
	migrate create -ext sql -dir ${MIG_SCF_SMS_DIR} -seq $(seq)
else
	$(error seq not define)
endif

mock:
ifdef seq
	migrate create -ext sql -dir ${MIG_OF_MOCK_DIR} -seq $(seq)
else
	$(error seq not define)
endif

structured:
ifdef seq
	migrate create -ext sql -dir ${MIG_OF_STRUCTURED_DIR} -seq $(seq)
else
	$(error seq not define)
endif

gsc-datasets:
ifdef seq
	migrate create -ext sql -dir ${MIG_GSC_DATASETS_DIR} -seq $(seq)
else
	$(error seq not define)
endif